package com.csq.sso.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("/web")
public class PageContorller {
	

	@RequestMapping(value = "/account/login")
	public String accountLogin() {
		return "/web/account/login";
	}

	@RequestMapping(value = "/company/login")
	public String companyLogin() {
		return "/web/company/login";
	}

	@RequestMapping(value = "/account/register")
	public String accountRegister() {
		return "/web/account/register";
	}

	@RequestMapping(value = "/company/register")
	public String companyRegister() {
		return "/web/company/register";
	}
	
	@RequestMapping(value = "/error/400")
	public String page404() {
		return "/web/error/404";
	}

	@RequestMapping(value = "/error/500")
	public String page500() {
		return "/web/error/500";
	}

}
